﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="AjaxListBox._Default" %>

<%@ Register Src="Controls/MultiListBox.ascx" TagName="MultiListBox" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script src="Scripts/jquery-1.6.1.min.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <uc1:MultiListBox ID="MultiListBox1" runat="server" 
            LeftBoxDataTextField="Name" 
            LeftBoxDataValueField="ID"
            RightBoxDataTextField="Name" 
            RightBoxDataValueField="ID" 
            LeftBoxTitle="Available Items"
            RightBoxTitle="Selected Items" 
            LeftClickFunction="Default.aspx/LeftClick" 
            RightClickFunction="Default.aspx/RightClick"
            LeftClickExtraData="hiddenField1"
            RightClickExtraData="hiddenField2" />
    </div>

    <asp:TextBox runat="server" ID="txt1" Text="stuff" />
    </form>
</body>
</html>
